package com.yyw.bean;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "作业Homework")
public class Homework {

    @ApiModelProperty("作业ID")
    private Long id;

    @ApiModelProperty("班级ID")
    private Long classid;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("描述")
    private String intro;

    @ApiModelProperty("创建时间")
    private Date createtime;

    // *********************
    @ApiModelProperty("已提交的作业id")
    private Long workingid;

    @ApiModelProperty("已提交的作业状态")
    private Integer state;

    @ApiModelProperty("分数")
    private Integer score;
}
